package cn.tedu;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestIOC {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext spring =
                new AnnotationConfigApplicationContext("student");
        Object s = spring.getBean("student");
        System.out.println(s);

    }
}
